﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Foot.ascx.cs" Inherits="HomeDemo_Foot" %>
<link href="/javascript/jbox/Skins/jbox.css" rel="stylesheet" />
<script src="/javascript/jbox/jquery.jBox-2.3.min.js"></script>

<script type="text/javascript">
 
    function Tellmsg() {
        var url = "/ajaxHandler.ashx";
        var para = "method=getnotice&t=" + new Date().getTime();
        jQuery.ajax(
            {
                type: "post",
                url: url,
                data: para,
                success: function (msg) {

                    var data = eval("(" + msg + ")");
                    var noticehtml = "";

                    if (data.noauthdeliver > 0) {
                         noticehtml += "<div>有<a href='/Admin/manage/DeliverList.aspx?revevar3=0' style='color:red;'>" + data.noauthdeliver + "</a>个配送员未审核</a><div>";
                    }

                    if (data.nodispatchorder > 0) {
                        noticehtml += "<div>有<a href='/Admin/Service/OrderDelive.aspx' style='color:red;'>" + data.nodispatchorder + "</a>个订单未调度</a><div>";
                    }

                    if (noticehtml.length > 0) {
                        $.jBox.messager("<div style='line-height:25px;'>" + noticehtml + "</div>", '温馨提示');
                    }
                   

                }
            })

    }

    Tellmsg();


    //客服一键发单
    function fastaddorder() {
        var tel = $("#left_tbtel").val();
        var title = "客服一键发单";
        $.jBox("iframe:/Admin/Service/fastaddorderbox.aspx?id=" + 0 + "&tel=", {
            title: title,
            width: 900,
            height: 500,
            buttons: {}
        });

    }
 
       
</script>

<div style="display:none;">

<script src="https://s11.cnzz.com/z_stat.php?id=1260675417&web_id=1260675417" language="JavaScript"></script></div>